package com.an;

public class DDDD {
    public static void main(String[] args) {
        DD dd = new DD("李白",20);
        dd.use();
    }
}

class DD{
    private String name;
    private int age;

    class EE{
        public void print(){
            System.out.println("name="+name+"\nage="+age);
        }
    }
 public void use(){
     EE ee = new EE();
     ee.print();
 }

    public DD(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
